package com.wzh.project.main;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.wzh.project.common.bean.BaseReqBean;

public class TestMain {
	public static void main(String[] args) {
//		String from="1";
//		String size="10";
//		String json1="{\"from\":"+from+",\"size\":"+size+", \"query\" : {\"bool\" : {  \"must\" : [ {\"nested\": {\"path\": \"qdbjxx\",\"query\": {\"bool\": {\"must\": [{\"match\": {\"qdbjxx.qdcode\": \"web-n\"}}]}}} } ] ,\"must_not\": {\"exists\": { \"field\": \"hfuuid\" } }}} ,\"sort\": [{\"lrrq\": {\"order\": \"desc\"}}]}";
//		System.out.println(json1);
		BaseReqBean reqBean=new BaseReqBean();
//		System.out.println(reqBean.getClass());
//		System.out.println(reqBean.getClass().getClass());
//		System.out.println(BaseReqBean.class.getClass());
//		System.out.println(BaseReqBean.class);
		
		reqBean.setAge(23);
		List<BaseReqBean> list=new ArrayList<BaseReqBean>();
		list.add(reqBean);
		Map[] aa=list.toArray(new Map [3]);
		System.out.println(aa);
		
	}
	

}
